package logic.items;

import logic.ships.hunter.Hunter;

public class EnergyCell extends Item {

	public EnergyCell(Hunter hunter, EnergyCellProperties properties) {
		super(hunter, properties);
	}

	@Override
	public void use() {
		int energyAmount = ((EnergyCellProperties)properties).getEnergyAmount();
		hunter.increaseEnergy(energyAmount);
	}
}